package com.crazypos.pojo;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("t_permission")
public class PermissionEntity extends BaseEntity{

    @TableId(value="id",type= IdType.ASSIGN_UUID)
    private String id;

    @TableField("name")
    private String name;

    @TableField("value")
    private String value;

    @TableField("module_name")
    private String moduleName;

    @TableField("module_id")
    private Integer moduleId;

}
